<template>
  <div>
    御剑乘风来,除魔天地间!===视频
    <img
      @click="pimg"
      style="width:100px;
      height:100px"
      src="https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=1906469856,4113625838&fm=26&gp=0.jpg"
      alt
    />
  </div>
</template>
           
<script>
import { ImagePreview } from "vant";

export default {
  methods: {
    //  图片预览
    pimg() {
      ImagePreview({
        images: [
          "https://img.yzcdn.cn/vant/apple-1.jpg",
          "http://static.zybuluo.com/buptzym/hzr6wujaewov0shnvn5ke3qc/image_1bg2h688f1g3msap1v3c1bf11hho19.png",
          "https://img.yzcdn.cn/vant/apple-1.jpg"
        ],
        startPosition: 0
      });
    }
  }
};
</script>
<style scoped>
</style>